export interface Student{
    id: number,
    name: string,
    sex: string,
    age: number
}

export interface StudentQueryDto{
    name?: string,
    sex?: string,
    age?: string,
    page?: number,
    size?: number
}

export interface SpringPage<T> {
    code : number,
    data: {list: T[],total: number},
    message?: string    
}

export interface SpringList<T> {
    code : number,
    data: {list: T[]},
    message?: string    
}


import { AxiosResponse } from "axios"

export interface AxiosRespPage<T> extends AxiosResponse<SpringPage<T>> {

}

export interface AxiosRespList<T> extends AxiosResponse<SpringList<T>> {

}


export interface User {
  id: string;
  name: string;
}

export interface UserListResponse {
  list: User[];
  total: number;
}